
package com.joysuch.wwyt.mh.bean;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;
import com.joysuch.wwyt.core.bean.SimpleInfoBean;
import lombok.Data;

@Data
@JsonInclude(value = Include.NON_NULL)
public class GlobalConfigBean {

    private List<SimpleInfoBean> jobs;
    private List<SimpleInfoBean> monitoringTypes;
    private LevelConfig level1Config;
    private LevelConfig level2Config;

    @Data
    public static class LevelConfig {
        // 岗位、部门组成的坐标点
        private List<Long[]> points;
        // 仅限设备所属部门及上级部门
        private boolean limitDepart;
        // 通知渠道
        private List<String> channels;

        private List<SimpleInfoBean> selectUsers;

        private List<Long> selectJobs;
    }
}
